xm: Make xm's printout of security errors look better
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Mar 2008 09:37:19 +0000 (10:37 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Mar 2008 09:37:19 +0000 (10:37 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xm/XenAPI.py

index a3717d70f24716db6d12b9cf3603b6ce0b06e656..dd38f37902d92d975d07d69dea8d5598419a6d85 100644 (file)
@@ -64,6 +64,7 @@ errormap = {
     "HANDLE_INVALID": N_("The %(1)s handle %(2)s is invalid."),
     "OPERATION_NOT_ALLOWED": N_("You attempted an operation that was not allowed."),
     "NETWORK_ALREADY_CONNECTED": N_("The network you specified already has a PIF attached to it, and so another one may not be attached."),
+    "SECURITY_ERROR": N_("%(2)s"),
     }
 
 translation = gettext.translation('xen-xm', fallback = True)